package Put_in;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * @author dx
 * @version 1.0
 * @date 2022/4/23 14:14
 * @description:  知道有几行
 */
public class test4 {


    public static void main(String[] args){
//        Scanner in = new Scanner(System.in);
//        int n = in.nextInt();
//        List<String> arr = new ArrayList<String>();
//        while (n-->0){
//            arr.add(in.next());
//        }
//        for(int i=0;i<arr.size();i++){
//            System.out.println(arr.get(i));
//        }
//


        Scanner reader = new Scanner(System.in);
        int m = reader.nextInt();
        for(int i=0;i<m;i++){
            int n1 = reader.nextInt();
            int []array = new int[n1];
            for(int j=0;j<n1;j++){
                array[j] = reader.nextInt();
            }
            System.out.println("----输出数组---");
            for(int x :array){
                System.out.println(x);
            }
        }
    }
}
